5.3
MEDIUM CVSS 3.1
CVE-2025-27505
GeoServer REST API Index Disclosure
Description

GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the default REST API security and access the index page. The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html). The REST API index can disclose whether certain extensions are installed. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, in ${GEOSERVER_DATA_DIR}/security/config.xml, change the paths for the rest filter to /rest.*,/rest/** and change the paths for the gwc filter to /gwc/rest.*,/gwc/rest/** and restart GeoServer.

INFO

Published Date :

June 10, 2025, 3:15 p.m.

Last Modified :

Aug. 26, 2025, 4:11 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-27505 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Geoserver geoserver
1 Osgeo geoserver
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Update GeoServer to a fixed version or adjust security configurations to include extensions.
  • Update GeoServer to version 2.26.3 or 2.25.6.
  • Modify security config paths for REST and GWC filters.
  • Restart GeoServer after configuration changes.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-27505.

URL Resource
https://github.com/geoserver/geoserver/pull/8170 Patch
https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5 Third Party Advisory
https://osgeo-org.atlassian.net/browse/GEOS-11664 Issue Tracking Patch
https://osgeo-org.atlassian.net/browse/GEOS-11776 Permissions Required
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-27505 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-27505 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-27505 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-27505 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 26, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions from (including) 2.26.0 up to (excluding) 2.26.3 *cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* versions up to (excluding) 2.25.6
    Added Reference Type GitHub, Inc.: https://github.com/geoserver/geoserver/pull/8170 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5 Types: Third Party Advisory
    Added Reference Type GitHub, Inc.: https://osgeo-org.atlassian.net/browse/GEOS-11664 Types: Issue Tracking, Patch
    Added Reference Type GitHub, Inc.: https://osgeo-org.atlassian.net/browse/GEOS-11776 Types: Permissions Required
  • New CVE Received by [email protected]

    Jun. 10, 2025

    Action Type Old Value New Value
    Added Description GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the default REST API security and access the index page. The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html). The REST API index can disclose whether certain extensions are installed. This vulnerability is fixed in 2.26.3 and 2.25.6. As a workaround, in ${GEOSERVER_DATA_DIR}/security/config.xml, change the paths for the rest filter to /rest.*,/rest/** and change the paths for the gwc filter to /gwc/rest.*,/gwc/rest/** and restart GeoServer.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    Added CWE CWE-862
    Added Reference https://github.com/geoserver/geoserver/pull/8170
    Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11664
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11776
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact